package com.ruoyi.project.mall.service.impl;

import com.ruoyi.project.mall.dao.MallShopBankDao;
import com.ruoyi.project.mall.domain.MallShopBankDO;
import com.ruoyi.project.mall.service.MallShopBankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MallShopBankServiceImpl implements MallShopBankService {
	@Autowired
	private MallShopBankDao mallShopBankDao;
	
	@Override
	public MallShopBankDO get(String id){
		return mallShopBankDao.get(id);
	}
	
	@Override
	public List<MallShopBankDO> list(Map<String, Object> map){
		return mallShopBankDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return mallShopBankDao.count(map);
	}
	
	@Override
	public int save(MallShopBankDO mallShopBank){
		return mallShopBankDao.save(mallShopBank);
	}
	
	@Override
	public int update(MallShopBankDO mallShopBank){
		return mallShopBankDao.update(mallShopBank);
	}
	
	@Override
	public int remove(String id){
		return mallShopBankDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return mallShopBankDao.batchRemove(ids);
	}

    @Override
    public List<MallShopBankDO> likeList(Map<String, Object> map){
        return mallShopBankDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return mallShopBankDao.likeListCount(map);
    }
	
}
